package cn.com.darly.videoandroidpm.ui.setting;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

import com.darly.dview.framework.ContentBinder;
import com.darly.dview.framework.ViewsBinder;
import com.darly.dview.widget.header.TitleView;

import cn.com.darly.videoandroidpm.R;
import cn.com.darly.videoandroidpm.base.BaseActivity;

/**
 * @TODO:设置
 */
@ContentBinder(R.layout.activity_setting)
public class SettingActivity extends BaseActivity implements OnClickListener{

    @ViewsBinder(R.id.id_base_title)
    TitleView id_base_title;

    @Override
    protected void initView(Bundle savedInstanceState) {
        id_base_title.setTitle("设置");
        id_base_title.removeBackground(R.drawable.ic_title_background);
    }

    @Override
    public void loadData() {
    }

    @Override
    public void initListener() {
        id_base_title.setLeftBackOneListener(R.mipmap.ic_title_back,this);
    }


    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.title_view_back_img:
                finish();
                break;
        }
    }
}
